package com.haoxuer.entity;

import com.haoxuer.discover.data.annotations.FormFieldAnnotation;
import com.haoxuer.discover.data.annotations.InputType;
import com.haoxuer.discover.data.entity.AbstractEntity;

public class DemoEntity extends AbstractEntity {

    @FormFieldAnnotation(type = InputType.date,sortNum = "5",id="name",placeholder = "请输入用户名")
    private String name;

    @FormFieldAnnotation(type = InputType.image,sortNum = "1",id="logo",placeholder = "请上传图片")
    private String logo;

    @FormFieldAnnotation(ignore = true)
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
}
